package init;

import java.sql.Driver;
import java.sql.DriverManager;
import java.util.Enumeration;

public class ClassLoadTest {

    public static void main(String[] args) {
        Enumeration<Driver> en = DriverManager.getDrivers();
        while (en.hasMoreElements()) {
            java.sql.Driver driver = en.nextElement();
            System.out.println("类：" + driver);
        }
    }
}
